package pATT.DataSetsGenerator.dataSetsGenerator.data.implement;


import java.util.Vector;

import pATT.DataSetsGenerator.dataSetsGenerator.attribute.implement.Attribute;
import pATT.DataSetsGenerator.dataSetsGenerator.core.implement.Relation;
import pATT.DataSetsGenerator.dataSetsGenerator.generator.implement.RandomExponentialGenerator;



public class RandomExponentialData extends Data {

	private double media = -1;
	
	public RandomExponentialData(Attribute attr) {
		super(attr);
		//this.media = media1;
	}

	public Vector generate(Relation relation){
		RandomExponentialGenerator random = new RandomExponentialGenerator(relation);
		return random.generate(this);		
	}

	
	public double getMedia() {
		return media;
	}

	public void setMedia(double media) {
		this.media = media;
	}
}
